// app.js
App({
  onLaunch() {

  },
  globalData: {
    userInfo: null,
    updateId: 0,
    getCurrentTabbar(selected, that) {
      if (typeof that.getTabBar === 'function' &&
        that.getTabBar()) {
        that.getTabBar().setData({
          selected: selected
        })
      }
    }
  }

})
